<%-- 
    Document   : admin
    Created on : 23-oct-2013, 8:08:44
    Author     : jorge.correa
--%>
<%@page import="Conexion.GestionSQL"%>
<%
     String[] strDatos= null; 
    String strSQL = "";
       
    strSQL = "select g.txtConsecutivo from tbl_generales g where g.txtForm = 'frmGeneral'";                  
    strDatos = GestionSQL.getFila(strSQL);

%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="SHORTCUT ICON" href="Images/App.ico" />
        <link rel="stylesheet" type="text/css" href="Styles/menu.css" />
        <link rel="stylesheet" type="text/css" href="Styles/visualizacion.css" />
        <script type="text/javascript" src="Scripts/jquery-1.7.2.min.js"></script>
        <script type="text/javascript" charset="UTF-8" src="Scripts/ajax.js"></script>
        <script type="text/javascript" charset="UTF-8" src="Scripts/comunes.js"></script>
        <script type="text/javascript" charset="UTF-8" src="Scripts/menu.js"></script>          
        <script type="text/javascript" charset="UTF-8" src="Scripts/visualizacion.js"></script>  
        <title>Sistema de Consulta a la Plataforma SIU - Administración</title>
        <script type="text/javascript">
            function disableKeyPress(evt){               
                var evt = (evt) ? evt : ((event) ? event : null); 
                var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null); 
                if ((evt.keyCode == 13) && (node.type=="text"))  {return false;} 
            }
        </script>
    </head>
    <body>
        <header>
            <jsp:include page="header.jsp" />  
       </header>
        <br>
        <table cellspacing="0" cellpadding="0" border="0" class="TABLAACCIONES">
            <tr>
                <td style="width: 90%;"></td>      
                <td class="CELDAACCION" style="border-left: 1px solid #116043"><input type="button" value="Salir" class="BOTONACCION" onclick="javascript:window.close();" /></td>
            </tr>
        </table>
         <br>
        <nav>
                <table cellspacing="0" cellpadding="0" border="0" class="TABLANAVEGACION">
                    <tr>
                        <td class="CELDAMENU">
                            <div id="dMenu" align="right">
                                <table cellspacing="0" cellpadding="5" border="0" class="TABLAMENU">
                                    <tr><td class="TITULOMENU">MENÚ ADMINISTRATIVO</td></tr>               
                                    <tr><td class="ITEMMENU" id="itCompPlataforma" style="border-bottom:  1px solid #116043;"><a href="#">Componentes de la plataforma</a></td></tr>               
                                    <tr><td class="ITEMMENU" id="itEquipos" style="border-bottom:  1px solid #116043;"><a href="#">Equipos</a></td></tr>
                                    <tr><td class="ITEMMENU" id="itEquiposXComp" style="border-bottom:  1px solid #116043;"><a href="#">Equipos por compontente</a></td></tr>
                                    <tr><td class="ITEMMENU" id="itServicios" style="border-bottom:  1px solid #116043;"><a href="#">Servicios</a></td></tr>
                                    <tr><td class="ITEMMENU" id="itEstadosSol" style="border-bottom:  1px solid #116043;"><a href="#">Estados de la solicitud</a></td></tr>                   
                                    <tr><td class="ITEMMENU" id="itEtapas" style="border-bottom:  1px solid #116043;"><a href="#">Etapas</a></td></tr>
                                    <tr><td class="ITEMMENU" id="itCampos" style="border-bottom:  1px solid #116043;"><a href="#">Campos</a></td></tr>
                                    <tr><td class="ITEMMENU" id="itCamposXEtapa" style="border-bottom:  1px solid #116043;"><a href="#">Campos por etapa</a></td></tr>
                                    <tr><td class="ITEMMENU" id="itRoles" style="border-bottom:  1px solid #116043;"><a href="#">Roles</a></td></tr>
                                    <tr><td class="ITEMMENU" id="itTiposPersona" style="border-bottom:  1px solid #116043;"><a href="#">Tipos de persona</a></td></tr>
                                    <tr><td class="ITEMMENU" id="itPersonas" style="border-bottom:  1px solid #116043;"><a href="#">Personas</a></td></tr>
                                    <tr><td class="ITEMMENU" id="itRolesXPersona" style="border-bottom:  1px solid #116043;"><a href="#">Roles por persona</a></td></tr>
                                    <tr><td class="ITEMMENU" id="itUsuarios" style="border-bottom:  1px solid #116043;"><a href="#">Usuarios del sistema</a></td></tr>
                                    <tr><td class="ITEMMENU" id="itFAQS" style="border-bottom:  1px solid #116043;"><a href="#">Preguntas frecuentes</a></td></tr>
                                    <%if (strDatos == null){%>
                                        <tr><td class="ITEMMENU"><a href="#"  onclick="window.open('general.jsp?txtAccion=C','Admin','top=0,left=0,width='+(screen.availWidth)+',height ='+(screen.availHeight)+',toolbar=0 ,location=0,directories=0,status=0,menubar=0,resizable=1,scrolling=1,scrollbars=yes');">Crear configuración general</a></td></tr>
                                    <%}else{%>
                                        <tr><td class="ITEMMENU"><a href="#"  onclick="window.open('general.jsp?txtAccion=V','Admin','top=0,left=0,width='+(screen.availWidth)+',height ='+(screen.availHeight)+',toolbar=0 ,location=0,directories=0,status=0,menubar=0,resizable=1,scrolling=1,scrollbars=yes');">Consultar configuración general</a></td></tr>
                                    <%}%>
                                </table>
                            </div>
                        </td>
                        <td class="CELDAESPACIO"></td>
                        <td class="CELDAMOSTRAR">
                            <div id="dMostrar">
                            </div>
                        </td>
                    </tr>
                </table>  
        </nav>
        <br>
       <footer>
            <div id="dFooter" class="FOOTER">
                <jsp:include page="footer.jsp" />          
            </div>
       </footer>
    </body>
</html>
